{% extends "base.html" %}

{% block body %}

<table>
    <thead>
    <tr>
        {% for col, col_zh in rule_columns %}
            <th>{{ col_zh }}</th>
        {% endfor %}
    </tr>
    </thead>

    <tbody>

    {% for rule in rules %}
        <tr>
            {% for col, _ in rule_columns %}
                <td class="center-td">{{ rule[col] }}</td>
            {% endfor %}
        </tr>
    {% endfor %}
    </tbody>
</table>

{% endblock %}
